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 or empty, then return 0.
  assert sumOfRanges(10, 20) == 673
  assert sumOfRanges(5, 5) == 25
  assert sumOfRanges(0, 0) == 0
  assert sumOfRanges(-5, 5) == 55
  assert sumOfRanges(1, 3) == 14
output: def sumOfRanges(start, end):
      if start > end:
          return 0
      return sum(i**2 for i in range(start, end + 1))