A FORTRAN command-line program for computing the ring statistics of a lattice of connected atoms/nodes