program to generate fft