Create problem10.java