Code generation working, just about. Now need to implement control structures and some other stuff.