implemented 2 functionsfor assignment #2

implemented makeCacheMatrix and cacheSolve functions