Implements Minimax algorithm on an arbitrary two player, sequential game with perfect information.