Notes from chapter 5, traders and transactions problems.