Wpb chapt3

This loop should have had a similar exit to readChar.java - it should exit when the user enters a period.