pretty print

Added functionality to pretty print the events out