Organized solution for The 3n + 1 Problem