Tic Tac Toe: Understanding The Minimax Algorithm