Changed the Chain container to LinkedList