testing discrete Fourier transform (DFT)
Rust 100%