More exercises

Exercises 25-31 with an incomplete boolean test.