Two-Phase flow with hysteresis: a simple mathematical model