Add Euclidean Distance Algorithm