add pickRandom to pick a random element of a container, plus remove spurious exit()
it turns out that you can't just seek through intervals and you need special stuff for that. We now scan.
reworked most of the things - we now do one scan for paired end matches.