Added ex3, uncorrected.