A little ruby practice. Written in Ruby, Sept 2013