Assignment 2 for the R course on Coursera

Calculating the inverse of a matrix and caching it so it doesn’t have
to be calculated over and over again.