Formatting and adding comments. Renamed BestMove to bestMove
Formatting