mark_duplicates function

Mark duplicate IP addresses and/or locations