Fixing code examples to be formatted a bit nicer.

Following PSR-2 Standards, and removed unnecessary indents