Create arrayex.cpp

create