Suffix Tree Construction Problem (formatting update)

Fixed some typos and formatting for cosmetic purposes, code still runs
exactly the same.  Removed the edge generation and formatting from the
main call and put it in its own function.