very first version of priority search queues

type definitions, create empty psqueue etc.
first version tournament, second-best