added array size evaluation, started array codegen