Implemented lattice/nested example input file using Python API