completed code generation - for loop , change else if to if in static checker for assignment node