Implemented a bunch more methods in CodeGenVisitor. I think all simple ones are done now.