Added classes Distance and KNN