Created functions for cachematrix

Create functions to create a cached matrix's invert and to retrieve the
cached matric