fiddling with solutions to erlang/day3