Added Predicates.equals and fixed some punctuation.

Added a function in Predicates which was missing. It passed the JUnit tests so it should be fine.