Set default values for Task class attributes. Remove toString function
in Task class.