Programming Assignment 2: Cache Matrix Functions