Toy programs, learning Erlang