Task 7: Raise an exception instead of doing "print 1 / 0" in code_gen.py

My eye didn't catch this last one.

See #7: http://github.com/meisam/YSmart/issues/issue/7