Add gan.py (in progress)