I am using a swarming algorithm to make objects move on the screen.