Allow the module to be imported by another application.

Wrap the main function in the typical "if __name__ == '__main__'" statement. This allows the module to be imported by another application without running the code during import.
Merge pull request #5 from idahogray/master

Allow the module to be imported by another application.