Create gp6.py

This is the python file that contains the python code in the gp6.ipynb