made sec function that takes a section of the linked list.
added a shift function