Program to solve the "N-Queens Problem" through CSP. (in Java)