Update reduce_friends.c