Problem 14, Longest Collatz sequence