rectangle on two dimensional cartesian coodinate system