Wrote both makeCacheMatrix and cacheSolve functions with comments