Commiting Implementation of Cached Matrix towards Programming Assignment 2