update: Added better __repr__

* Updated the __repr__ function to provide more detailed information
  about the task.