finished display_all_contacts method