|Our mile-long airport runway needs to be inspected. We have made patches on it over the
last year. The patches that have been completely covered by later patches so that no
area is left exposed don't have to be inspected, but all the other patches do.
Create a class Runway that contains a method inspect that is given ints x0 and x1
indicating the locations of the patches and that returns the number of patches
that must be inspected.
The ith elements of x0 and x1 refer to the end positions of a single patch.
The elements are given in chronological order with earlier patches before later patches. A patch includes its
endpoints and all the area between them. A patch
whose endpoints are both the same has NO area and never needs to be inspected.