pub fn dist_naif<M>(x: &[M::Item], y: &[M::Item]) -> M::Costwhere M: MetricSpace,
Calculate distance between sequences x and y in the MetricSpace M O(exp(n)) time and memory