Create array.cpp

array.cpp