Adding definition of dynamic array class.
test routines for dynamic array class.