Update Iterative.java