first working version of parallel_for + example and test.