Problem 2

Wrote the required functions to calculate and cache the inverse of a
matrix (with comments)