Create problem7.java