basic social network using python