add code example for section7, chapter10, UsingAFormatter.java