program to calculate if a given number is an armstrong number or not