CacheMatrix - Programming Assignment 2