Prob 2 in Racket - ugly version :)
Prob 2 in Racket - more concise version
Merge branch 'master' of github.com:lojic/trifunc