Program functional

Function makeCacheMatrix and cacheSolve matrix are functional and
returning expected values