erlang study ,the code is the code in the book or after erver chapter