Formatting/grammar changes etc

All the examples have been tested and work fine.