Width Min Max Algorithm Using Divide