Create problem2.java