Practice implementation of linked lists