added removeFromEnd for linkedList
added queue