finished w/ bogus priority queue implementation