Create squarewaveGenerator.py