Programming Assignment 2 : cache the inverse of a matrix