compares lists for the same occurances