Final assignment submission version

Committing the changes to cacheMatrix.R for final submission