Gravity Waves in Water of Finite Depth