input: Write a python function to calculate the sum of numbers from 1 to n.
  assert sum_numbers(5) == 15
  assert sum_numbers(10) == 55
  assert sum_numbers(100) == 5050
output: def sum_numbers(n):
      return n * (n + 1) // 2