learning erlang language code.