Added setName() function to Task class - this allows us to set the name of aperiodic tasks.