I am trying to create a method that returns the sum of all the numbers in an interval between two integers. If x is negative or y < x, the method should return -1. But I