implement cave generation tool