Add function definitions for caching the inverse of a matrix

Implements makeCachMatrix and cacheSolve as helper functions to
save time when calculating the inverse of a matrix.