Turn a number into a list of digits