Fixing coding style in examples