Minimax implementation finally! And test for minimax bug.