Ethan Lape HW 1 turn in

Okay, but a priority queue or SSet might be easier.