A simple polynomial library (school project)