updated main.cpp

created a function that would allow the current Racers to be outputted as an input file.
 - Saved output to be imported as "output.txt"
 - Saved the standard output to file a printFriendly Version saved to "print.txt"