Refactoring. Creating addNumbersUpTo method to kill test mutation.