Added variability to get_city_loc function and added iteration of a list of cities to earthquake function.