A flocking simulator