started with Backtracking algorithm, fixed some equals() methods and
added some comments to two helper classes (Pair and Holder)