armstrong number algorithm