eletcrospectrum program

first attempt