contactnet function

Generate binary adjacency matrix contact networks