added abstract function isPointInsideRectangle
added class block