Function for retreiving a list of friend numbers