Added auxillary functions to notebook, starting protocol