Add a basic erlang solution

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