add the ternary operator (closes #8)
Merge pull request #9 from yorickvP/ternary

add the ternary operator (closes #8)