Answer from cs61c-ef (Tanay Nagjee 16096756) for Question 2
struct node *newhead;
newhead->str = name;
newhead->next = head;
head = newhead;
