Added code generation for array variables
Fixing temp variables, still in progress