serialized the task class and added all tasks to the temp.txt file!