Added task3c. Improved a little temporary files in task3a, task3b, task3c