Added example code from Structured Parallel Programming book.