Implementing the Godunov scheme