Destin of SmarterEveryDay meets with a computer scientist friend, who explains the algorithm that determines the behavior of flocking birds.