Added square wave generator function.
Merge branch 'master' of https://github.com/ErroneousPromulgation/Project2