added more comments inside the cachematrix.R for better explanation