Preliminary implementation of linked list