<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def enclosing_box(boxes):
 """ Finds a new box that exactly encloses all the given boxes. :param boxes: Array of Box objects :return: Box object that encloses all boxes """

        x = max(0, min([box.x for box in boxes]))
        y = max(0, min([box.y for box in boxes]))
        x2 = max([box.bottom_right()[0] for box in boxes])
        y2 = max([box.bottom_right()[1] for box in boxes])
        return Box.from_xy(x, y, x2, y2)