Create 3n+1 Algorithm