Integrated Extended_Closure to find reverse and forward closure.