Update adol-c.rb

making suggested changes to code.