Adding RemoveDuplicates

Adding function removeDuplicateIps to remove duplicate Server & SecIp.