C++ implementation of Fast Fourier Transformantion