Optimized longest Collatz chain, now it keep in memory lengths of previous chains and
check it with every next number.
Also removed overhead with CollatzChain class, all this instance creating stuff also slowed test.
Now it runs 2,3 seconds on my PC. Previous version runs 14 seconds.