Completed the 3 different type of Task and make the existing Task class to abstract class.