An introduction to ethology