updated socialnetwork.py with details.