array creation and Iteration over 1-D array.Multi-level class hierarchy added