Solve the queen problem with js
Solve queen problem