Added generate level function to floorpaint