Read in an integer
As stated above, use the modulus function to get the *last* digit
A simple WHILE loop will suffice, recursion overkill