ADded dynamic array header and source files