Adding checkio solution restricted-sum