input: Write a python function to calculate the sum of squares of a list of numbers.
  assert sum_of_squares([1, 4, 9, 16, 25]) == 55
  assert sum_of_squares([2, 3, 5]) == 38
  assert sum_of_squares([0, 1, 2]) == 5
output: def sum_of_squares(numbers):
      return sum(x ** 2 for x in numbers)