int range = map(read1, read2);
That's not how the map() function works. You also have two new variable names there that aren't declared in the sketch. When you wrote "read1" did you mean "read the value of pin reed1"? Or something else?
The case statement makes no sense. If that did work, you just examine the value of one or the other switch. (Although the second one is trying to turn on the LED associated with the first one.) Except the break; is inside part of the else clause so sometimes it will break and sometimes it won't.