Formatted output now works

Updated so that it outputs any number of nodes. 4 nodes per line. Only
handles 9 number nodes, will work on any type of node.