Implemented hailstoneCount() in assignment7.assignment7, completing the entire assignment.