def left_most(boxes):
        """
        Finds the left most box out of the given boxes.

        :param boxes: Array of Box objects
        :return: The left-most Box object
        """
        x_list = [(box.x, box) for box in boxes]
        x_list.sort()
        return x_list[0][1]
Finds the left most box out of the given boxes.

        :param boxes: Array of Box objects
        :return: The left-most Box object