add hash functions to PointI and RectangleI