implemented chain search by mutual friend