fixed formatting issues, added support for screenshot.py

- Fixed formatting issues identified by PEP8 checker, 
- Incorporated comments from @khandelwal 
- Modified class constructors to include a test directory to store images generated by screenshot.py
print writes to stdout. For errors, you should write messages to stderr.