A New Approach for Constructing Pore Network Model of Two Phase Flow in Porous Media