addFriend function
Merge pull request #4 from humd/patch-1

addFriend function