created def collatz in problem 14