Worked on function to create linked list, but it connects no more than one link.