Finished function to extract unique un-ordered protein pairs.