edit the methods taskToString and StringtoTask based on new format of
TaskClass, add the undo function