public void run() {
		int x = readInt("Enter a number: ");
		int i = 0;
		while (x != 1) {
			if (x % 2 != 0) {
				x = 3 * x + 1;
				println(x + " is odd, so I make 3n + 1: " + x);
			} else {
				x = x / 2;
				println(x + " is even, so I take half: " + x);
			}
			i++;
		}
		println("The process took " + i + " steps.");
	}