Homework 2, Problem 6 - Boolean Variable