General purpose dynamic array
