Implemented Bag using LinkedList and Resizing arrays