added overloaded constructors for CodingSeq and both Gates
merged changes made by Jeroen and me (Anton)