[math-fun] bitboard dihedral group (crazy hackers please?)