Design and write a program to build a task queuing system that can handle and prioritize tasks from multiple users.