Add .pyc files to .gitignore
Add __str__ method to Query. Removed extraneous print functions. Refined module functionality.