Data structures, stringification, and a constructor for Project Euler 68.