my attempt at linkedlist implementation