Assignment 2 - casheMatrix.R