Implementation of CHORD algorithm using erlang