Model-free algorithms for fast node clustering in SBM type graphs and application to social role inference in animals