Added some ruby and erlang implementations