solution of 100 - The 3n + 1 problem