Basic phonebook in c