ESYS: Implemented Watchdog for lab2 (not working yet)