recursively find the queen place in each row, check the board above the current row