Added Predicates.equals and fixed some punctuation.

Added a function in Predicates which was missing.