pub fn parallelize_iter<I, T, F>(iter: I, f: F)where I: Send + Iterator<Item = T>, T: Send, F: Fn(T) + Send + Sync + Clone,
Parallelly executing the function on the items of the given iterator.