Added a destructor to LinkedList, as well as methods for counting occurrences of a given datum and retrieving the list's nth element.