R Programming Week 2 Assignment 2

Use of <<- operator to cache results of resource- and time-consuming
computations

Correction to validation instructions in comments.