- added __pycache__ to ignore file

- added python3 compatibility