polynomial-ruby