Changed the foldLeft to reduceLeft in InterestingDigits