challenge 12: easy in erlang