Create xmlgenerate.rb

I just learning ruby, this class should generate a XML code.