Finished the ArrayStack class.