Modularized program. Added input checking.
Added required get methods. Updated input checking to allow for punctuation add whitespace, as required by the assignment.