do you have to use a switch?

i think the fastest way to do this is with a two-dimensional array and a for loop.