Highly simplified getDigitalRoot. Completed isSmithNumber.