added MoveGenerator.result which gives back resulting state given a move
player and board.