intermediate_code_generator: Add generate_if and generate_assign
intermediate_code_generator: Add generate_read and generate_write