Adds functions makecachematrix and cache solve

These functions are designed to help cache the inverse of a matrix, so
that it's not necessary to run time-costly calculations every time this
value is needed