Logic multicompare

It checks for equality between every member of a list of integers. Essentially but comparing integers instead of booleans.