add array function in lib/InterCodeGernerator.cpp and lib/codeGenerator.cpp