Exercise 5 — Hailstone Numbers