Add erlang and R implementations

This sort of sucks, but it's something at least!

Maybe @PhillipNordwal can improve it a bit?