Finished second part

Finished cacheSolve part