initial implementation of cacheSolve

Initial implementation of cacheSolve assignment