MyQueue implementation