Implementing makeCacheMatrix and cacheSolve

As required by programming exercise