Used random selection by length in PrimitiveDBBoardGenerator

Boardgeneration now done in almost acceptable time.
Not yet tested on Phone (only emulator)