Corrected minimax.java