A Digital Thermostat written in C