Switched solution to n-queens.

I've updated the solution to n queens to use a new, faster, better documented solver.