most of the way through problem one in erlang