Matrix Caching (assignment 2 for R course)

Programming assignment 2 to cache a matrix inverse