Armstrong Number Example Python Class Structure