Add python path to run easily
Added main function
Added error message for file and python 3 print compatibility
Removed inline comments
python style guidelines