Flocking behavior with PubNub