Program to generate armstrong numbers