code for computing collatz numbers with caching.
writeup of interface ideas.
writeup of thoughts on error handling.
more error handling thougths