Front tracking and two-dimensional Riemann problems