covert .net files to adjancency matrix
add comments to the function