Simple radix-2 FFT implementation.