Implemented code generation for arrays.
Implemented code generation for arrays.