Edited the cachematrix.R file to implement the code required by the programming assignment 2. Rev.1