Update SolveGreedy.java