Function cachematrix

Write a pair of functions that cache the inverse of a matrix. This is
for R Programming Assignment 2.