Tries Data Structures, Ternary Search Trees, Data Compression, Substring Search and Sorting Algorithms