Given an input string array, you need to create a class/object splitting the string. There is a hidden hierarchy based on the value in the string. You need to add a new field adding this added information.
Sigiloso
Hint: Consider the string array like some graph.