This sounds more like a homework assignment than a "real" project. If this is a homework assignment, you need to close this thread and start a new thread in the Homework and Coursework Questions forum
If not, you need to provide a lot more information about the input columns and the output you want.
Are the input columns in separate text files, a single text file with all of the data in a single column and some particular input lines indicating the start of a new column, actual columns in a text file (with what used to distinguish field boundaries), or something else? Are the column titles all in double quotes? Are the values in the input columns sorted (and, if not, is the script supposed to sort the output to appear as though the input had been sorted), or should it be a comma separated list of increasing (or increasing and decreasing) range values in the order in which they appeared in the input? (And, please use CODE tags to show sample input, sample output, and code segments!)
What variables do you want to adjust (and why)?
If you want us to help you learn how to do something, you need to provide us with more information about what you have (what shell, operating system, and operating system version are you using), what you want to do, and what resources you have to do it. This is not a forum for you to give vague comments about a project you'd like for someone else to design and implement for you.