Godunov Type Solutions For Water Hammer Flows