def set_fig_in_pt_set(rectangle, value, points):
    """
    General routine to set tiles found in points to value
    """
    if not points:
        return rectangle
    rectangle[points[0][0]][points[0][1]] = value
    set_fig_in_pt_set(rectangle, value, points[1:])
    return rectangle