Enqueue can enqueue single node

Changed the method definition to use the priority enumeration as a
parameter, and added code that can enqueue a single node. Trivial to do
since it doesn't have to worry about priority.