created attribute boolean isDone for Task class