Add function edges_link

Link 2 edges within 2 pixels