Assignment 2 submission

implemented makeCacheMatrix and cacheSolve functions