assignment 2 on caching