N-queen backtracking


this is my code
not working for higher input line 9 and printing wrong multiple cases