Phonebook in python