solved 3n+1 problem