Completed pair of functions to cache inverse matrix

This is a pair of functions that allow the user to cache a solved
inverse matrix rather than computing it over and over again. This was
written for a coursera R programming course 6/19/2014.