fixed bug in board.makeMove