Dynamical clustering methods to find community structures