Short pieces of code done to learn erlang