basic logic for the 'Hydrogen Destillator'