add source code cachematrix.R for Programming Assignment2