Added code to makeCacheMatrix and cacheSolve

Implemented the functions makeCacheMatrix and cacheSolve