Added time determination for task categories.
Removed debugging print statement for task duration
Added time calculation based on category.