Solve n-queens, still messy...