Made Longest Collatz Sequence efficient enough to work