Functions to create a cached matrix inverse.
Tested and seems to be working correctly.