ex10-3 improved

Used guard conditions to remove punctuation, whitespace.  Improved
formatting of final output.