realft and twoft

written realft method and twoft for inverse fourier transform and FFT of
a real function