Cache Matrix programming assignment

This is Mauro Gentile's version of the R programming assignment of
Coursera class.