Porting code example (Ruby to Elixir)

Merged. Appreciated. Just remember we may be in different time zones. :wink:

By the way The Ruby version is not “ideal” either. The non-threaded version is
easier to watch/understand, but the threaded one is a massive free-for-all, and I
am not sure how I want to fix it.

Hal