The N-Queens problem solved using DFS(depth-first search) algorithm