compare animals using euclidean distance