division by zero in one instrument

Removed some wrong placed pauses in Bourree.
Division by zero in Squarewave, fixed with "if frequency == 0"
Program should be ready for the contest submission