Implement boolean and relational ops in C
Fix boolean operations