Code for following aircraft