To prevent bugs resulting from user input, remove leading and trailing
whitespace from each line
Update the line variable after editing it for clarity
Merge pull request #16 from brianhlin/master

To prevent bugs resulting from user input, remove leading and trailing