Java PriorityQueue & Nodes

I need two assignments done. (Instructions are uploaded as a photo)First assignment must be submitted with a few screenshots of the program.The second one must have at least one screenshot …