Created Hailstone method
tested code with number 12
added first print line