implemented structs in intermediateCodeGenerator. Still no deep copy support