Completed the stack implementation using an array.