created a function
which caches the inverse of a matrix
trying to merge with master, need to commit first