This is a simple AI example that I had made for a speed programming challenge.