Some C code to control our dorm's lights, locks, and possibly more later