Get Duplicate Values From Array Python