Worked on AI, added coordinates template struct