added minimax ai that always plays perfectly