changed code to return the number associated with the longest collatz sequence, not the value of the longest sequence