Implementation of some ideas from Yoav Shoham's Multi-agent Systems in Racket