A Simple mechanic in which the AI detects walls and doesnt walk into them! Simple, but buggy!
Feel free to use, No credit needed!