started work on array codegen
basic codegen for class methods