Week2 assignment

The functions create a special object that stores a matrix and cache
its inverse.