Learning Distributed Controllers for V-Formation