First example - euclidean distance