implemented contains (Rectangle)