RosettaCode Hailstone Sequence code no longer works