Create gdoor.py

It's not perfect, but it's functional