Home work for https://class.coursera.org/matrix-001/assignment/index