Introduction to water wave mechanics