Part 1 of Programming Assignment 2

This function creates a special "matrix" object that can cache its inverse.