input: Write a python function to calculate the sum of squares of numbers from 0 to n.
  assert sumOfSquares(10) == 385
  assert sumOfSquares(5) == 55
  assert sumOfSquares(0) == 0
output: def sumOfSquares(n):
      return sum(i ** 2 for i in range(n + 1))