Update 09-part-viii-enemies-and-basic-ai.html.md, closes #86

Fix bugs in code samples. Resolves #86.