Used int arrays instead of Integer in Minimax.java