Small update

An update to the Collatz Sequence length calculator. It was producing
the wrong chain lengths. Moving the increment to after the if clause
seems to fix the problem.