Histogram water content Algorithm
NQueen Problem Description