given a public key from a given party calculate the next message in the agreement sequence.
initialise the agreement engine.