Added functionality for NakedPair algorithm