My implementation of MyArray from Lab 1