Added contains() method for BoundingBox