Suffix Array to Suffix Tree (script)

A script that converts a Suffix Array and LCP Array for a given word
into a Suffix Tree for the given word.