What were trenches and how were they used during World War I?