Add for_each function to Iterator trait

This can be written as `for x in self { f(x) }`.