Programming Assignment 2

Matrix cache functions