Formatting TaskList class. Add more test cases for TaskList.