etudes for erlang - chapter 1 to 6