added sollution for collatz sequence