An introduction to bubble dynamics