Implemented randomness, priority queues, and linked list reversal