Update startingnode.cpp

getPriority