outputs two new files with number of friends and groups and average change