-adding code to implement the disk cache

Implemented the Disk Cache.