creating ruby file ex10.rb to work on escaping characters