finished code example for section7, chapter10, UsingAFormatter.java and WriteProverbs.java