code for udacity's parallel programming course