added cachematrix.R file
added gitignore