coursework for https://www.coursera.org/course/matrix