Algorithm to catalogue topologies of dynamic lipid hydrogen-bond networks.