Solutions to the udacity parallel programming course