結果 : nearest neighbor algorithm pseudocode