* Added functions for applying events to a particular node and
distributing resulting commands among the other nodes.
* Changed the _nsLog type to MemLog.Log.
* There are a few missing bits and bobs,
  and the whole thing is not particularly pretty
  but it should do for now.
Added a function that will simulate a single node with an incoming event
and output resulting commands.
Add singleEvent function that runs a single step of
the simulation, by popping a single even from the queue
of a particular node and simulating the events.
Defined the actual test, for now just
running and printing the final state.