added input sanitizing
Merge pull request #3 from andrewlaskey/add-sanitization

added input sanitizing