Assignment 2 R Programming Course

Functions that handle inverting a matrix and caching the result. That
way, you don't have recalculate the inverse if it has been cached.