Getting a digital root of a number