Added __pycache__ to gitignore for python3, added python3 support