This one should have been an easy.
Read the lines from stdin and print them back out
Traversing the graph though not handling dangling parents.
Now it is traversing the test.txt correctly, now make it format the output right.
Output is put into a large char array and formatted properly.
Finding postfix/prefix matches, but need to actually match them now.
Matching with postfix, next to prefix
Running on sample2.txt works with prefix matching, but need to spot dangling items and issue warning
Cleaned up output.  One last thing to do could be to handle asterisks anywhere in the line, or at least in the beginning AND end not just one XOR the other.