Working through Erlang day 3