ChemApp for Python example: Phase transitions in Pb-Sn