Update phonebook.c

- solved read from file problem. 
- solved issues of overwriting linkedlist node due to improper malloc statement (malloc'ed pointer instead of the size of the struct)