Zuora interview question

Write a program to mimic a phonebook.