add erlang recursive iteration example