some more progress on sort.cpp, added an array and a loop! next the actual sorting alg.