Begin breaking gen.py into functions
Add code generation to alive.py, via the -o option