Added formmating to generated Khan exercise file