added cachesim code
Merge pull request #1 from jrotolo/development

added cachesim code