Chapter 5 paths, coins