A rectangle can be constructed from two corner points (not necessarily the top-left and bottom-right corner). Complete the Rectangle class to provide methods that yield

More than one internal representation is possible. Choose any one that you find useful.