implemented generator for legal moves for one player, including a LOT of tests