Updated selectColumns method

Removed static selector strings inside the switch statement. It now builds the selector dynamically based off the number of columns passed in.