Programming Assignment 2 cachemean