simple python module to print out nested data structures