Added debug method to Rectangle