Generates quests, also arbitrarily places non-quest items. Writes map to file. TODO: Actually document this code.