Added a view_friends function

function to enter the user_id and it returns an array containing all hid
friends_ids