created Task class

-Task nested class created
 .will be used as node in Data Structure for TaskLists