added test for number of agents in constructor
code tidy

added instrumentation and removed code no longer used
added hooks to display the world