Network Formation: Bilateral Contracting and Myopic Dynamics