Added custom Queue class based on LinkedList