Update 09-part-viii-enemies-and-basic-ai.html.md

Fix bugs in code samples