intermediate_code_generator: Add type_object to Assign
code_generator: Add generate_assign
code_generator: Add generate_write
code_generator: Add generate_bad_index
code_generator: Added missing descriptors selectors