Thermostat project for SWE 321.