changed thermostat.rb so that it more follows DRY by moving a common print phrase out of an if statement