Improved Leader-Follower Method in Formation Transformation Based on Greedy Algorithm