Program for printing the powers of 10.