Created new TemperatureRange class in place of private weather_data method