Adding working minimax player.