DivideSelf is very tough

using a while loop, you should terminate when x is less than 10.  Check
to make sure that the remainder is not equal to 0. Then check to make
sure that it is divisible by itself.  Finally reduce the number with the
modulus system to get the next digit to test