I\'m trying to write a subroutine that takes in a positive integer and returns the number of steps required for that integer to reach 1 by following the Collatz conjecture.