Coded the AI class for the game Othello.