This is what I tried as learning Erlang