flocking algorithm wolf and sheeps, written in java