Assignment 2 completed by Mathieu

This is my completed Assignment 2, cachematrix.R, for coursera.