Write a program that prints all possible combinations of single-digit numbers