implementation of polynomial multiplication via FFT