Exploring flocking algorithms in processing