adding the polynomial exampls and queens example