solver for the queens riddle (place 8 queens on a chess board so that they don't threaten each other).