Adds beginning of dynamic array implementation.