if writing in pas, would 2d array or adjacency matrix be better or easier.
i am preparing to write a program on subjects, objects and directed edges (like a b-tree) with checking for cycle.
and also is there any way we could write program to show the tree rather than sentences - eg.
/ \ / \
/ \/ \
d e f