Minimax

added minimax algorithm and test file