made code work with compound and conditionals
deleted unused function
code visually shows test cases at bottom of digraph path
formated the visual digraph output