Added 3n+1 solution