Assignment 2 - Caching Inverse of Matrix

Caching the inverse of a matrix - Calculating the inverse of a square
matrix using the solve function.