python script to print nested lists in indented fashion