added the print longest line example from Section 1.9
finished chapter 1