add functions for enqueuing datagrams, producing random linear
combinations of datagrams, and part of function for receiving
linear combinations of datagrams.  No tests yet.