Implement cond. Fix bug with booleans