Wrote lookup_city function