pub fn parallelize<T, F>(v: &mut [T], f: F)where T: Send, F: Fn((&mut [T], usize)) + Send + Sync + Clone,
Parallelly executing the function on the given mutable slice.