Create ch3_7.java