Update squarewaveGenerator.py