Added new functionality to the Linked List class