NQueens GA implementation