Begining of learning Erlang programming.