Adjusted to match PEP 8 code style and PEP 257 style doc strings
Convert print to use () syntax instead of spaces for py3 support
Migrated from getopt to optparse
Merge pull request #1 from chuckatkins/master

Update to make a bit more "pythonic"