added erl files from learnyousomeerlang code examples