add an 8-queue solution