Almost completed declarations and skeleton definitions for dynamic_array class.