add more linked list methods for practice