thraxil.org:

Erlang Challenge: Level 4 Fri 01 Sep 2006