cacheSolve function

First draft of cacheSolve function