Committing Changes

Broke the program up into methods.