input: Write a python function to calculate the sum of the squares of the numbers in a given list.
  assert sum_squares([1, 2, 3, 4]) == 30
  assert sum_squares([0, -1, -2]) == 5
  assert sum_squares([5, 5, 5]) == 75
output: def sum_squares(lst):
      return sum(x ** 2 for x in lst)