Correction to exercise12.rb to includes labels