Implement bool expressions
Merge pull request #190 from Kha/bool

Implement bool expressions