chapter 7: exercise 4 and test that map2 and fork run in parallel