calculate friends of degree 3 without removing duplicate friend paris