Boids algorithm for MLton and Multi-MLton