Update arrayAvg.cpp