Linked list implementation finished with sortedInsert and comments