started codegen for array operations