Checks if number is an armstrong number