A Python program that solves the one-dimensional Riemann problem for the shallow water equations.