Changed cachematrix.R to homework requirements