Generates random polynomial equations