modified MakeCacheMatrix() and cacheSolve() functions

Signed-off-by: Laura Sedman <laura.sedman@gmail.com>