to check whether given number is armstrong number or not