docs: added flag-generation tutorial

    - added thresholding page