updating flocking example to use new builtin tablegenerator methods