Two-dimensional numerical simulation of the resistive reconnection layer