Controlling servos by switches

You have one instance of the SoftwareServo class. You need one per servo.

 if (val = LOW)

Here, you are assigning the value of LOW to val, not testing that val equals LOW. Use == to compare.

How ARE your switches wired? You are not using the internal pullup resistors, so you need external resistors.