tutorial for parralel for_each