Generalized Suffix Tree C# Implementation