a working version of makeCacheMatrix and cacheSolve functions along with commented tests