DynGraphIG.
write_interactions
Write a file with interactions
Write interactions in the corresponding json format