Code Editor : example_lattice.cpp