Added new features to LinkedList class