to generate amstrong number