signal generator functions

auyoung_squareGen: function to generate a square wave

auyoung_sigGen: function to generate sine, cosine, square, triangle, or
saw wave (or noise)