Create activity.py

For generating friend activity
Merge pull request #2 from ninjacornelius/patch-2

Create activity.py