new code for assignment 2

commit code for makeCacheMatrix and cacheSolve functions.