A JAVA implementation of the Minimax algorithm