Homework 3 baseline BooleanLogic