Starting implementation of prioritized queue for threadpool
The unholy hell of priorityqueue