basic examples for learning erlang based in the gread online book: "learn you some erlang" (http://learnyousomeerlang.com/)