Assingment from udacity.com's Intro to Parallel Programming course