Examples and work from Problem Solving with Algorithms and Data Structures Using Python