recursive solution to sumNumbers