Uploaded cachematrix

I added my solution for assignment 2 with commenting.