Fix some random bugs, add program start, and improve code generation.
Add support for references.
Get pointers to work with assignment, and add new example.