fixed typos and added more to polynomial solutions