Create chapter3.java