Create CompareFilter.java

Manual addition of file