Added comments to UniqueChecker1.java

Added comments to understand the code