Finished the problem, puts all the friends in an array