Add 3N+1 program