Fixed indendation for code snippets

Also removed the print snippets which are not even Go code.

In the case of Golang the tabs vs spaces is not for debate because the builtin format tool uses tabs. Therefore it is safe for the snippets to assume tabs.