made iterative collatz still have seg fault