Longest Collatz Sequence Problem