Added Resource with priorities and associated example_9.jl

Implementation of priority_queue is quite naive but sufficient to
continue development