project 1 for network and cryptography class: create connection in data link layer