Your code has bug. Try to add friends to a person and run most-social. It always returns "empty network"