Update index.md

Add "one statement per line" to coding style notes.