[nqueens] write code for n queens, return all solutions