Solution to machine problems (MP) in Coursera's parallel programming course (https://class.coursera.org/hetero-002).