Linked list implementation begun, but not fully working