ABS chapter 4

Ready for review.
Neat use of a map, although stylistically they're best used when you want to convert one array into a new one. When you don't need a new array, a foreach loop is a bit clearer.