--- from: http://rosettacode.org/wiki/Fast_Fourier_transform