added array.h file from previous project