Fixed minor issues from previous version (written but untested) This version now loops through all relays turns them on, then off, then turns all on, then all off and exits.