Update SumOfDigits.rb

Given a positive integer, find the sum of its constituent digits.