Adding examples from erlang