Made good progress in the code generation function.
All expressions and statements should be handled.