Solution of the Cauchy problem for a conservation law with a discontinuous flux function