update to programming assignment 2

completed bodies of stub functions makeCacheMatrix and cacheSolve