implement functions for assignment 2

implement the makeCacheMatrix function
and the cacheSolve function per the instructions