Learn Erlang by writting simple script