Numericalsimulationsofinterchange/tearing instabilities in 2D slab with a numerical model for edge plasma