Make a cache matrix and computes its reverse

Programming Assignment2
creates a matrix object that can cache its inverse