Implemented priority queue with unit tests (weak unit tests...)