largest-series-product: Adopt functional style

As discussed in #79.

This also adds a note that suggests that the code for the series
exercise be reused.