Major progress on dynamic_array class.

Realized that I don't need a special iterator class for dynamic_array. Hence, I will use what I've already written when implementing an iterator for linked_list class.