finished LinkedQueue class