The Icelandic village of Flateyri has an 'avalanche dam' for protection