UVA Problem ID: 100 (The 3n + 1 Problem)