added N queens solver