Cache Matrix

This is the code for Assignment 2 from the R Programming course.

The combined functions calculates the inverse of a matrix, but if it
has already  been calculated, simply takes the result from the cache.