結果 : manhattan distance function in python