Added GetSumOfConsecutiveNumbers() method.