mjm - chapter 3 exercises

Again, you don't need the `foreach` loop here; a simple `print` should do it.