How to Create a Boolean Generator