the solution was 3 queens instead of 6