Creates TaskItem class(to be tested in main program)