makeCacheMatrix() and cacheSolve() functions written and tested