Simple Refactoring in LinkedListQueue