allIdentical function

Testing whether several objects are all identical with each other