implemented makeCacheMatrix and cacheSolve
cleaned up comments to be more descriptive and readable