The finite difference method for the three-dimensional nonlinear coupled system of dynamics of fluids in porous media