Project Euler 14

A class that populates a dictionary of integers with the corresponding
Collatz chain lengths. Returns the maximum length with starting number
below one million.