add up-bound degree N

output each user’s i-th degree friends, for every positive i less than or equal to N. 

For lager N, multiple run of friends_linked.py is needed.