Fix bug in NQueens, add easier remember method