Add functionality to cachmatrix.R

Flesh out the functions makeCacheMatrix and cacheSolve to enable them
to calculate, cache and return the inverse of a matrix.