solutions for booleans chapter