Added analyseDisplayList()

analyseDisplayList() is a helper that counts the elements on the
displayList and is able to spit a a string containing the displayList
elements in a graphviz format.