Created link class.
Implemented PrioritizedQueue.
Major overhaul of the data structure. Added class for learning algorithm.