Add Boolean type to comparison operations.

Honestly, mathAndStringOperations and comparisonOperations are too
similar. Not sure how to consolidate these yet.