Added euclidean distance with it's test in main.cpp