Bencode implemented in Elixir