code that shows how STL priority queues can be used for cs3790 memeory alloc assignment