Added the interfaces necessary for ArrayBasedQueue and ArrayBasedStack