eight queens finished and modified linkedlist