Added the check loop method for the circuit class.