this is good for a start -> https://medium.com/@pramodayajayalath/flocking-algorithm-simulating-collective-b...