Implemented buddy list functions