Well I am making a program with greenfoot in java. I am trying to make a program that has birds following another birds. And I control the lead bird.
Your question requires a lot of work and cannot be done for free. Submit it as an assignment to our control panel
and we'll assist you.