Added string generator function to Task Added addTask compatibility with optional args Added some exception handling to addTask