added simulation example file
added cachematrix functions and methods