Added new class for priority queues. Ran many tests with valgrind and found various mem leaks, plugged all but still getting invalid assignments and other strange errors.