thraxil.org:

Erlang Challenge: Level 4 by anders pearsonFri 01 Sep 2006