N Queen Problem Explanation