Building a Godunov-type numerical scheme for a model of two-phase flows