command line phonebook in python