List extends Iterable so we can now do:
for (x : list) {
 // process x...
}
Also add a test for the above.