Small changes to main.cpp in lab3

The main function is now cleaned up, calling the function printline that, besides printing a line, also prints out the number of the task that is beeing run.