Add a solution to the 3n+1 problem.

$ go test
PASS
ok      programming-challenges/1.6.1    0.005s