Programming Assignment 2 completion

Functions for computing and caching the inverse of square matrices