Programming Assignment2

This second programming assignment is an R function is able to cache
potentially time-consuming computations.