Added the createList function and started addFriend.