modify the code ,delete num
add read txt for cities,
loop for test,
add performance trouble.