test cases for symbolic deriv and sets
chapter 3 exercises -- including 3.23 Deques