added week 13, flocking code