Parallel Programming Samples - Task and Data Parallelism