Add the minimax java file