add the ternary operator (closes #8)

I implemented the ternary operator. It does not short-circuit, which would be nice to mention in a future 'gotchas' section.