Completed implementation of date in myStack