Update chapter6.md

fixed a syntax error