Add solution to The 3n + 1 Problem.