Reverse-tree-proof is a project mainly written in ..., it's free.
Usage: make ./tree
Examples: ./tree 2421111 ./tree 1113131 ./tree 322111