A great bunch of solutions, thanks a lot guys.  More nice tasks for me 
trying to reverse engineer them as well (especially Harry's Math 
solution) :)

cheers!
max
-- 
Posted via http://www.ruby-forum.com/.