Switch to Python3

Change print statements and add a gitignore file