A very basic implementation.

agents don't move.
graphics is console output.
quad tree is just a wrapper for naive function.