Thanks i I got It now and learned a bit more about looping.
Thank you everyone.

-- 
Posted via http://www.ruby-forum.com/.