Normalized code examples

Normalized indentation and naming for code examples