Add trinary exercise
Merge pull request #19 from bistik/trinary

trinary