currently working on ArrayBasedQueue.java