Remove unnecessary functions, and priorities now removed during deletion

Two of the functions were only needed for the class assignment, so I removed them. Also, priorities of deleted elements can now be reused once deletion is complete.