started python code and document for quadratic programing solution to thermostat control