An example of calculating FFT