eachDigit

Write a program that returns each digit of an integer.