This circuit only composed of transistors, capacitors, and resistors. No programming needed, just pure circuit.
There are times that you just want a single function and using an Arduino would be overkill.
The circuit reference is from talkingelectronics.com "101-200 Transistor Circuit"