Finish the dynamic array class. Overloaded assignment operator. Added memory guards.