cachematrix

solution by Keerthi Srinivas - Coursera