finished cacheSolve

this is the second of the two functions needed per the instructions