A little ruby practice, matrices this time. Written in Ruby, Sept 2013