Fft algorithm (C language implementation)