結果 : implement backtracking algorithm for the n queens problem