Suffix Tree Construction Problem

Solution to Rosalind Textbook Track Problem 7D: Suffix Tree Construction
Problem