working oscillator in native python on my laptop