Added cache
Added moveto
finally got correct AI.py