input: Write a function to compute the sum of square numbers in a given range, including the start and end numbers. If the given range is invalid (start > end), then return 0.
  assert sumOfRanges(10, 20)==673
  assert sumOfRanges(1, 5)==55
  assert sumOfRanges(0, 0)==0
  assert sumOfRanges(5, 1)==0
  assert sumOfRanges(-3, 3)==28
output: def sumOfRanges(start, end):
      if start > end:
          return 0
      return sum(i**2 for i in range(start, end + 1))