backtracking for N Queen problem