Implementation of DHT11 class (temperature sensor)