Added solution to Problem 14: Longest Collatz sequence.