add equals method to Rect